Make Emacs compile when Gtk+ and -DGTK_DISABLE_DEPRECATED is used.
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 19 Apr 2009 10:53:15 +0000 (10:53 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 19 Apr 2009 10:53:15 +0000 (10:53 +0000)
commit3a3e05c9c9850e840a7847ae86372618ebc20d61
treee351a495c3bb1c9d0b7ad731e12b58c4280a98cd
parent27b0e0217aeb5de7ae3c318a7013a003af44850b
Make Emacs compile when Gtk+ and -DGTK_DISABLE_DEPRECATED is used.

* gtkutil.c (xg_tool_bar_menu_proxy, update_frame_tool_bar): Use
G_CALLBACK instead of GTK_SIGNAL_FUNC which is deprecated.
(xg_initialize): Use g_type_class_ref instead of gtk_type_class which
is deprecated.

* configure.in (HAVE_GTK_FILE_SELECTION, HAVE_GTK_FILE_CHOOSER): Check
if it is declared in gtk.h.
ChangeLog
configure
configure.in
src/ChangeLog
src/gtkutil.c